<!-- 告警统计 -->

<template>
  <div class="marginBottom">
    <EasyRow col2>
      <div>
        <MajorTitle :title="`${CORE.MAP.ALARM}类型`" />
        <OurChartPie ref="left" v-bind="obj.all" />
      </div>

      <div>
        <MajorTitle :title="`${CORE.MAP.ALARM}处理时长`" />
        <OurChartBar ref="right" v-bind="obj.complete" />
      </div>
    </EasyRow>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixStatistic from '../../mixStatistic'
import { index } from '../store/state'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'AlarmStatistic',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixStatistic(index)],
}
</script>
